package com.shenglue.ssi.service;

import java.util.List;

import com.shenglue.ssi.domain.BuyInDetail;
import com.shenglue.ssi.domain.BuyInMain;
import com.shenglue.ssi.domain.User;

public interface BuyInDetailService {

	/**
	 * 查询某入库单的 所有入库单细表信息
	 */
	public List<BuyInDetail> selectAllBuyInDetail( int buyInId );

	/**
	 * 增加入库单细表记录
	 */
	public boolean saveBuyInDetail( BuyInDetail BuyInDetail );

	/**
	 * 删除入库单细表记录
	 */
	public boolean deleteBuyInDetail( int buyInDetailId );

	/**
	 * 修改入库单细表记录
	 */
	public boolean updateBuyInDetail( BuyInDetail BuyInDetail );

	/**
	 * 为修改，根据 Id 查一条 入库单子表记录
	 */
	public BuyInDetail getOneBuyInDetailForUpdate( int buyInDetailId );
}
